package com.repair.service.FaultLeixing;





import java.util.List;

import com.repair.dao.fualtleixing.IFaultLeixingDao;
import com.repair.domain.FaultLeixing;
import com.repair.factory.DaoFactory;




public class FaultLeixingService {
	private IFaultLeixingDao dao = (IFaultLeixingDao)DaoFactory.getInstance().getDao("faultleixingDao");
	
	
	public void save(FaultLeixing obj){
		this.dao.saveFaultLeixing(obj);
	}
	public  List<FaultLeixing> list(){
		return this.dao.getAllFaultLeixing();
	}
	public void delete(FaultLeixing obj){
		this.dao.deleteFaultLeixing(obj);
	}
}
